Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

course_plot.js ➔ processRemove   A
last analyzed

Complexity

Conditions 1

Size

Total Lines 6
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 5
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
function processCourse(sectorID) {
2
	var plotCourseForm = document.getElementById('plotCourseForm');
3
	plotCourseForm.to.value = sectorID;
4
	plotCourseForm.submit();
5
}
6
7
function processRemove(sectorID) {
8
	var manageDestination = document.getElementById('manageDestination');
9
	manageDestination.sectorId.value = sectorID;
10
	manageDestination.type.value = 'delete';
11
	manageDestination.submit();
12
}
13
14
$(function() {
15
	$('.draggableObject').draggable({ containment: 'parent' });
16
	$('#droppableObject').droppable({
17
		drop: function(event, ui) {
18
			var manageDestination = document.getElementById('manageDestination'),
19
				sectorID = ui.draggable.data('sector-id'),
20
				pos = ui.draggable.position();
21
			manageDestination.sectorId.value = sectorID;
22
			manageDestination.offsetTop.value = pos.top;
23
			manageDestination.offsetLeft.value = pos.left;
24
			manageDestination.type.value = 'move';
25
			manageDestination.submit();
26
		}
27
	});
28
});
29